package com.neusoft.neuiotms.dcom.service.insurance;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.insurance.InsuranceRegisterDTO;

public interface InsuranceRegisterService {

    List<InsuranceRegisterDTO> index(Searchable searchable, final UserBean user);

    Page<InsuranceRegisterDTO> page(Searchable searchable, Pageable pageable, UserBean user);

    InsuranceRegisterDTO create(final InsuranceRegisterDTO dto, final UserBean user);

    InsuranceRegisterDTO update(final Long id, final InsuranceRegisterDTO dto, final UserBean user);

    InsuranceRegisterDTO detail(final Long id);

    void delete(final Long id);

    InsuranceRegisterDTO updateStatus(Long id, Boolean status);

}
